class Res {
  send(ctx,status,code,message,data = [],rest = {}){
    ctx.status = status
    ctx.body = {
      code,
      message,
      data,
      ...rest
    }
  }
}

module.exports = new Res()